.class public final Lnbisdk/ht;
.super Lnbisdk/dt;


# instance fields
.field private dG:Lnbisdk/ag;

.field private kW:Lnbisdk/dn;

.field private kX:Lnbisdk/oz;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lnbisdk/dt;-><init>()V

    return-void
.end method

.method private static a(Ljava/lang/String;Lnbisdk/so;)Lnbisdk/ri;
    .locals 5

    new-instance v0, Lnbisdk/ri;

    invoke-direct {v0, p0}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Lnbisdk/so;->getAddress()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1}, Lnbisdk/so;->getStreet()Ljava/lang/String;

    move-result-object v2

    if-eqz v1, :cond_0

    const-string v3, "sa"

    invoke-static {v0, v3, v1}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    if-eqz v2, :cond_1

    const-string v1, "str"

    invoke-static {v0, v1, v2}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    new-instance v1, Lnbisdk/ri;

    const-string v2, "point"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    const-string v2, "lat"

    invoke-virtual {p1}, Lnbisdk/so;->getLatitude()D

    move-result-wide v3

    invoke-static {v1, v2, v3, v4}, Lnbisdk/el;->a(Lnbisdk/ri;Ljava/lang/String;D)V

    const-string v2, "lon"

    invoke-virtual {p1}, Lnbisdk/so;->getLongitude()D

    move-result-wide v3

    invoke-static {v1, v2, v3, v4}, Lnbisdk/el;->a(Lnbisdk/ri;Ljava/lang/String;D)V

    invoke-virtual {v0, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    return-object v0
.end method

.method private static a(Lnbisdk/ri;Lnbisdk/ag;)V
    .locals 8

    const/4 v7, 0x0

    const-wide/16 v5, 0x0

    if-eqz v7, :cond_4

    invoke-virtual {v7}, Lnbisdk/od;->jH()Ljava/util/Vector;

    move-result-object v1

    if-eqz v1, :cond_4

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-lez v0, :cond_4

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v2

    const/4 v0, 0x0

    move v3, v0

    :goto_0
    if-ge v3, v2, :cond_4

    invoke-virtual {v1, v3}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/bw;

    cmpg-double v0, v5, v5

    if-gez v0, :cond_0

    cmpg-double v0, v5, v5

    if-ltz v0, :cond_3

    :cond_0
    new-instance v0, Lnbisdk/ri;

    const-string v4, "detour-avoid"

    invoke-direct {v0, v4}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    cmpl-double v4, v5, v5

    if-ltz v4, :cond_1

    const-string v4, "start"

    invoke-static {v0, v4, v5, v6}, Lnbisdk/el;->a(Lnbisdk/ri;Ljava/lang/String;D)V

    :cond_1
    cmpl-double v4, v5, v5

    if-ltz v4, :cond_2

    const-string v4, "length"

    invoke-static {v0, v4, v5, v6}, Lnbisdk/el;->a(Lnbisdk/ri;Ljava/lang/String;D)V

    :cond_2
    const-string v4, "route-id"

    invoke-virtual {v0, v4, v7}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    invoke-virtual {p0, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_3
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_4
    return-void
.end method

.method private c(Lnbisdk/ri;)V
    .locals 3

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lnbisdk/od;->jH()Ljava/util/Vector;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v1

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_0

    invoke-virtual {v0, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/bw;

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method


# virtual methods
.method protected final b(Lnbisdk/ag;Lnbisdk/ri;)V
    .locals 11

    iput-object p1, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {p1}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->T()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->V()[B

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v0

    sget-object v1, Lnbisdk/oz;->uL:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Lnbisdk/ri;

    const-string v1, "recreate-route"

    invoke-direct {v0, v1, p2}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v1, "route-id"

    iget-object v2, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v2}, Lnbisdk/ag;->V()[B

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    :goto_0
    new-instance v1, Lnbisdk/ri;

    const-string v0, "cache-contents"

    invoke-direct {v1, v0, p2}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v2, Lnbisdk/oz;->uv:Ljava/lang/Integer;

    invoke-virtual {v0, v2}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_5

    const/4 v0, 0x0

    :goto_1
    const/16 v2, 0x8

    if-ge v0, v2, :cond_5

    new-instance v2, Lnbisdk/ri;

    const-string v3, "cache-item"

    invoke-direct {v2, v3, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v3, "name"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "NIM"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_0
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    const/4 v0, 0x0

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lnbisdk/bw;->bL()Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v1

    if-lez v1, :cond_3

    sget-boolean v1, Lnbisdk/bk;->cG:Z

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Lnbisdk/bw;->bM()Lnbisdk/kw;

    move-result-object v1

    if-eqz v1, :cond_1

    invoke-virtual {v0}, Lnbisdk/bw;->bM()Lnbisdk/kw;

    move-result-object v1

    invoke-static {v1}, Lnbisdk/cq;->c(Lnbisdk/kw;)V

    :cond_1
    invoke-virtual {v0}, Lnbisdk/bw;->bN()Lnbisdk/kw;

    move-result-object v1

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Lnbisdk/bw;->bN()Lnbisdk/kw;

    move-result-object v1

    invoke-static {v1}, Lnbisdk/cq;->c(Lnbisdk/kw;)V

    :cond_2
    invoke-virtual {v0}, Lnbisdk/bw;->bL()Ljava/util/Vector;

    move-result-object v0

    new-instance v1, Lnbisdk/ri;

    const-string v2, "origin"

    invoke-direct {v1, v2, p2}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    invoke-virtual {v0}, Ljava/util/Vector;->elements()Ljava/util/Enumeration;

    move-result-object v2

    :goto_2
    invoke-interface {v2}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v2}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/kw;

    invoke-static {v0}, Lnbisdk/mu;->e(Lnbisdk/kw;)Lnbisdk/ri;

    move-result-object v0

    invoke-virtual {v1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v0

    if-eqz v0, :cond_4

    const-string v0, "origin"

    iget-object v1, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v1}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v1

    invoke-static {v0, v1}, Lnbisdk/ht;->a(Ljava/lang/String;Lnbisdk/so;)Lnbisdk/ri;

    move-result-object v0

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_4
    const-string v0, "destination"

    iget-object v1, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v1}, Lnbisdk/ag;->N()Lnbisdk/ej;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v1

    invoke-static {v0, v1}, Lnbisdk/ht;->a(Ljava/lang/String;Lnbisdk/so;)Lnbisdk/ri;

    move-result-object v0

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->S()Lnbisdk/ln;

    move-result-object v0

    if-eqz v0, :cond_6

    invoke-static {}, Lnbisdk/na;->ji()Ljava/util/Enumeration;

    move-result-object v2

    :goto_3
    invoke-interface {v2}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_6

    new-instance v3, Lnbisdk/ri;

    const-string v0, "cache-item"

    invoke-direct {v3, v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v4, "name"

    invoke-interface {v2}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_3

    :cond_6
    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/ix;->gT()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/qw;

    if-eqz v0, :cond_7

    iget-object v1, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v2, Lnbisdk/oz;->uw:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v1

    if-eqz v1, :cond_7

    check-cast v0, Lnbisdk/qw;

    invoke-virtual {v0}, Lnbisdk/qw;->kK()Ljava/util/Hashtable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Hashtable;->keys()Ljava/util/Enumeration;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_7

    new-instance v3, Lnbisdk/ri;

    const-string v1, "map-cache-contents"

    invoke-direct {v3, v1, p2}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    :goto_4
    invoke-interface {v2}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_7

    invoke-virtual {v0}, Lnbisdk/qw;->kK()Ljava/util/Hashtable;

    move-result-object v1

    invoke-interface {v2}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lnbisdk/mo;

    iget v4, v1, Lnbisdk/mo;->rg:I

    iget v1, v1, Lnbisdk/mo;->rh:I

    sget v5, Lnbisdk/ho;->MIN_PRIORITY:I

    sget v6, Lnbisdk/ho;->MAX_PRIORITY:I

    sget-wide v7, Lnbisdk/ho;->kU:D

    new-instance v9, Lnbisdk/ri;

    const-string v10, "vector-tile-descriptor"

    invoke-direct {v9, v10}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    const-string v10, "tx"

    invoke-static {v9, v10, v4}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v4, "ty"

    invoke-static {v9, v4, v1}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v1, "tz"

    iget-object v4, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v4}, Lnbisdk/dn;->cQ()I

    move-result v4

    invoke-static {v9, v1, v4}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v1, "min-priority"

    invoke-static {v9, v1, v5}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v1, "max-priority"

    invoke-static {v9, v1, v6}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v1, "min-scale"

    double-to-float v4, v7

    invoke-static {v9, v1, v4}, Lnbisdk/ov;->a(Lnbisdk/ri;Ljava/lang/String;F)V

    invoke-virtual {v3, v9}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    goto :goto_4

    :cond_7
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->P()Lnbisdk/bb;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/bb;->bb()Lnbisdk/ri;

    move-result-object v0

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/dn;->cY()Z

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v0}, Lnbisdk/dn;->cW()Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->P()Lnbisdk/bb;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/bb;->ba()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_8

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-speed-cameras"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_8
    iget-object v0, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v0}, Lnbisdk/dn;->cD()Z

    move-result v0

    if-eqz v0, :cond_9

    const-string v0, "pronun-style"

    iget-object v1, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v1}, Lnbisdk/ag;->P()Lnbisdk/bb;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/bb;->bc()Ljava/lang/String;

    move-result-object v1

    invoke-static {p2, v0, v1}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/dn;->cY()Z

    move-result v0

    if-nez v0, :cond_9

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->R()Z

    move-result v0

    if-nez v0, :cond_9

    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/ix;->gU()Z

    move-result v0

    if-nez v0, :cond_9

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v0

    sget-object v1, Lnbisdk/oz;->uL:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->U()Z

    move-result v0

    if-eqz v0, :cond_25

    const-string v0, "max-pronun-files"

    const-wide/16 v1, 0x3

    invoke-static {p2, v0, v1, v2}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    :cond_9
    :goto_5
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uy:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_a

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-origin-location"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_a
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uz:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_b

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-destination-location"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_b
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uK:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_c

    new-instance v0, Lnbisdk/ri;

    const-string v1, "disable-navigation"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_c
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-static {p2, v0}, Lnbisdk/ht;->a(Lnbisdk/ri;Lnbisdk/ag;)V

    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uA:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_d

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-route-polyline"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_d
    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/dn;->cY()Z

    move-result v0

    if-nez v0, :cond_f

    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->ux:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_e

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-cross-streets"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_e
    iget-object v0, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v0}, Lnbisdk/dn;->cX()Z

    move-result v0

    if-eqz v0, :cond_f

    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uw:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_f

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-route-map"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    const-string v1, "distance-of-view"

    iget-object v2, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v2}, Lnbisdk/dn;->cO()I

    move-result v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v1, "angle-of-view"

    iget-object v2, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v2}, Lnbisdk/dn;->cR()D

    move-result-wide v2

    double-to-int v2, v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v1, "min-time"

    iget-object v2, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v2}, Lnbisdk/dn;->cU()I

    move-result v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v1, "passes"

    iget-object v2, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v2}, Lnbisdk/dn;->cP()I

    move-result v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v1, "tz"

    iget-object v2, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v2}, Lnbisdk/dn;->cQ()I

    move-result v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v1, "max-tiles"

    iget-object v2, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v2}, Lnbisdk/dn;->cN()I

    move-result v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_f
    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/dn;->cY()Z

    move-result v0

    if-nez v0, :cond_11

    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uB:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_11

    iget-object v0, p0, Lnbisdk/ht;->kW:Lnbisdk/dn;

    invoke-virtual {v0}, Lnbisdk/dn;->cV()S

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_10
    :goto_6
    const/4 v1, 0x1

    if-eq v0, v1, :cond_11

    invoke-direct {p0, p2}, Lnbisdk/ht;->c(Lnbisdk/ri;)V

    :cond_11
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uv:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_12

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-toward-roadinfo"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_12
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uC:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-nez v0, :cond_13

    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/dn;->cY()Z

    move-result v0

    if-eqz v0, :cond_14

    :cond_13
    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-ferry-maneuvers"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_14
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uD:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_15

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-tunnel-maneuvers"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_15
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uE:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_16

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-bridge-maneuvers"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_16
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uF:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_17

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-unpaved-info"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_17
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uG:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_18

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-country-info"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_18
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uH:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_19

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-enter-country-maneuvers"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_19
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uI:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_1a

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-enter-roundabout-maneuvers"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_1a
    iget-object v0, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v1, Lnbisdk/oz;->uJ:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_1b

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-route-extents"

    invoke-direct {v0, v1}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_1b
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/ix;->gU()Z

    move-result v1

    if-nez v1, :cond_1c

    invoke-virtual {v0}, Lnbisdk/ag;->U()Z

    move-result v1

    if-eqz v1, :cond_1c

    invoke-virtual {v0}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v1

    sget-object v2, Lnbisdk/oz;->uL:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v1

    if-eqz v1, :cond_1c

    invoke-virtual {v0}, Lnbisdk/ag;->T()I

    move-result v0

    const/16 v1, 0x8

    if-eq v0, v1, :cond_1c

    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-maneuvers"

    invoke-direct {v0, v1, p2}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    new-instance v1, Lnbisdk/ri;

    const-string v2, "sliceres"

    invoke-direct {v1, v2, v0}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v0, "start"

    const/4 v2, 0x0

    invoke-static {v1, v0, v2}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v0, "end"

    const/4 v2, 0x2

    invoke-static {v1, v0, v2}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    :cond_1c
    const-string v0, "command-set-version"

    iget-object v1, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v1}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/oz;->jT()I

    move-result v1

    int-to-long v1, v1

    invoke-static {p2, v0, v1, v2}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->getLanguage()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1d

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1d

    const-string v1, "language"

    invoke-static {p2, v1, v0}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    :cond_1d
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->S()Lnbisdk/ln;

    move-result-object v0

    if-eqz v0, :cond_1e

    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->V()[B

    move-result-object v0

    if-eqz v0, :cond_1f

    :cond_1e
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->T()I

    move-result v0

    if-eqz v0, :cond_20

    :cond_1f
    iget-object v0, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->T()I

    move-result v0

    iget-object v1, p0, Lnbisdk/ht;->dG:Lnbisdk/ag;

    invoke-virtual {v1}, Lnbisdk/ag;->S()Lnbisdk/ln;

    move-result-object v1

    invoke-interface {v1}, Lnbisdk/ln;->getRouteID()[B

    move-result-object v1

    if-eqz v1, :cond_20

    const/4 v2, 0x1

    if-eq v0, v2, :cond_20

    const/4 v2, 0x2

    if-eq v0, v2, :cond_20

    new-instance v2, Lnbisdk/ri;

    const-string v3, "recalc"

    invoke-direct {v2, v3, p2}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v3, "route-id"

    invoke-virtual {v2, v3, v1}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    const-string v1, "why"

    invoke-static {v0}, Lnbisdk/a;->a(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v1, v0}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_20
    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/ix;->gQ()Lnbisdk/hj;

    move-result-object v0

    const/16 v1, 0xd

    invoke-interface {v0, v1}, Lnbisdk/hj;->isEnabled(I)Z

    move-result v0

    if-eqz v0, :cond_24

    invoke-virtual {p1}, Lnbisdk/ag;->X()Z

    move-result v0

    if-eqz v0, :cond_24

    const/4 v0, 0x0

    new-instance v1, Lnbisdk/dq;

    invoke-direct {v1}, Lnbisdk/dq;-><init>()V

    if-eqz v0, :cond_23

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lnbisdk/dq;->l(Z)V

    invoke-virtual {v0}, Lnbisdk/ns;->getSearchInfo()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/ml;

    if-eqz p0, :cond_21

    invoke-virtual {p0}, Lnbisdk/ml;->iA()I

    move-result v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->K(I)V

    invoke-virtual {p0}, Lnbisdk/ml;->iB()I

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->q(Ljava/lang/String;)V

    invoke-virtual {p0}, Lnbisdk/ml;->iB()I

    move-result v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->setIndex(I)V

    :cond_21
    invoke-virtual {v0}, Lnbisdk/ns;->jE()Lnbisdk/pr;

    move-result-object v0

    if-eqz v0, :cond_22

    invoke-virtual {v0}, Lnbisdk/pr;->isEnhancedPOI()Z

    move-result v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->n(Z)V

    invoke-virtual {v0}, Lnbisdk/pr;->kb()Lnbisdk/cy;

    move-result-object v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->a(Lnbisdk/cy;)V

    invoke-virtual {v0}, Lnbisdk/pr;->jZ()Z

    move-result v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->m(Z)V

    invoke-virtual {v0}, Lnbisdk/pr;->getID()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lnbisdk/dq;->q(Ljava/lang/String;)V

    invoke-virtual {v0}, Lnbisdk/pr;->dd()Lnbisdk/cy;

    move-result-object v0

    invoke-virtual {v1, v0}, Lnbisdk/dq;->b(Lnbisdk/cy;)V

    :cond_22
    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Lnbisdk/dq;->r(Ljava/lang/String;)V

    :cond_23
    invoke-virtual {p1}, Lnbisdk/ag;->S()Lnbisdk/ln;

    move-result-object v0

    if-nez v0, :cond_26

    const-string v0, "init"

    :goto_7
    new-instance v2, Lnbisdk/dq;

    invoke-direct {v2}, Lnbisdk/dq;-><init>()V

    invoke-static {v2, v1, v0}, Lnbisdk/by;->a(Lnbisdk/dq;Lnbisdk/dq;Ljava/lang/String;)V

    :cond_24
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lnbisdk/ag;->c(Z)V

    return-void

    :cond_25
    const-string v0, "max-pronun-files"

    const-wide/16 v1, 0x0

    invoke-static {p2, v0, v1, v2}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    goto/16 :goto_5

    :pswitch_0
    new-instance v1, Lnbisdk/ri;

    const-string v2, "want-realtime-traffic"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    new-instance v1, Lnbisdk/ri;

    const-string v2, "want-historical-traffic"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :pswitch_1
    new-instance v1, Lnbisdk/ri;

    const-string v2, "want-realtime-speed"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    new-instance v1, Lnbisdk/ri;

    const-string v2, "want-historical-speed"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    iget-object v1, p0, Lnbisdk/ht;->kX:Lnbisdk/oz;

    sget-object v2, Lnbisdk/oz;->uK:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v1

    if-nez v1, :cond_10

    new-instance v1, Lnbisdk/ri;

    const-string v2, "want-traffic-notification"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    goto/16 :goto_6

    :cond_26
    invoke-virtual {p1}, Lnbisdk/ag;->T()I

    move-result v0

    invoke-static {v0}, Lnbisdk/a;->a(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_7

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
